Create Essentials Customer
This request creates a new customer with a single site location and with the Hosted Essentials license type.
URL
{{baseUrl}}/api/v2/customer
HTTP Method
POST
Request Body
Parameter |
Type |
Description |
||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
shortName |
string |
Short customer name, complying with validation rules for customer name:
|
||||||||||||
fullName |
string |
The customer full name (optional). | ||||||||||||
siteLocation |
list array |
The site location represents a an SBC configuration for a specific customer. This list array includes the following parameters:
|
||||||||||||
sbcId |
integer |
The SBC Id in the SBC List (Known SBCs). For more information, see Managing SBC Devices. |
||||||||||||
sbcOnboardingScript |
integer |
The required value for an SBC Onboarding script. For more information, see SBC Template Scenarios. |
||||||||||||
sbcCleanupScript |
integer |
The required value for an SBC Cleanup script (see SBC Template Scenarios). |
||||||||||||
ovocCustomerType |
string One of the following values:
|
|
||||||||||||
channelId |
string |
The channel Id of the tenant if existing. See Get List of Channels. | ||||||||||||
[CustomerVariableName]: Value String |
string |
One of the following values:
Customer variables must be added to the Live Platform database. See Customer Variables. |
||||||||||||
[CustomerVariableName]: Value String |
string |
One of the following values:
Customer variables must be added to the Live Platform database. See Customer Variables. |
||||||||||||
[CustomerVariableName]: Value String |
string |
One of the following values:
Customer variables must be added to the Live Platform database. See Customer Variables. |
||||||||||||
msTenantId |
string |
Enter Tenant Id of the customers' Microsoft Tenant Id for validation. |
Example Body
{
"shortName": "BradSB1E1",
"fullName": "BradSB1E1",
"siteLocation": {
"sbcId": 5,
"sbcOnboardingScript": 7,
"sbcCleanupScript": 700
},
"ovocCustomerType": "IPGROUP_TYPE",
"msTenantId": "fcc608c4-095b-4d1a-90e3-2106fc7024de"
}
Example Response
{
"id": "182f496c-0aaa-4023-bdd4-03b9cf8f68b9",
"customerId": "BradSB1E1",
"siteLocationIds": [
"e61d2f11-87ef-49f9-8771-730ec0b2507b"
],
"deploymentState": "Deployed",
"errorDetails": null,
"progressDetails": "(Information, MsTenantid is valid);(Information, Customer data created!);(Information, SBC sbc-onboarding done for site BradSB1E1.);(Information, Site created in Ovoc)"
}
HTTP Responses
■ | 200 OK |
Parameter |
Type |
Description |
||||||
---|---|---|---|---|---|---|---|---|
customerGuid |
string |
Unique customer Id created by this request. |
||||||
customerId |
string |
Customer ShortName |
||||||
siteLocationIds |
integer |
|
||||||
deploymentState |
string |
One of the following values:
|
||||||
errorDetails |
string |
Error information. |
||||||
progressDetails |
string |
Progress details regarding the deployment. See example below. Copy
|
If Live Platform (UMP-365) server is configured as a tenant in server, the sbcId must be the id of the SBC device registered in Live Platform (OVOC) server.